from django.conf.urls.defaults import *
from django.conf import settings
#from views import logout

urlpatterns = patterns('',
                       url(r'^'+settings.BIXFILE_NAME+'/login/$', 'django.contrib.auth.views.login', {'template_name':'registration/login.html'}, name='login'),
                       url(r'^'+settings.BIXFILE_NAME+'/logout/$', 'django.contrib.auth.views.logout', {'template_name':'registration/logout.html'}, name='logout'),
                       url(r'^'+settings.BIXFILE_NAME+'/', include(settings.BIXFILE_NAME+'.urls')),
                       url(r'^'+settings.BIXFILE_NAME+'/admin/', include('django.contrib.admin.urls')),
                       )
